package com.Graham.Game;

import java.util.ArrayList;


public class Text {

	ArrayList<String> dialogue = new ArrayList<String>();

	Text() {
		
		dialogue.add("Do whatever...I don't care. \n");
		dialogue.add("Go where? \n");
		dialogue.add("You've arrived at your house. \n");
		dialogue.add("You've arrived at the store. \n");
		dialogue.add("...Alright then. \n");
		dialogue.add("Use what? \n");
		dialogue.add("What spell? \n");
		dialogue.add("A plume of fire shoots from your hands. \n");
		dialogue.add("A giant pillar of ice erupts from the ground. \n");
		dialogue.add("Ten-thousand volts discharge from your fingertips. \n");
		dialogue.add("The ground violently rumbles as it seperates. \n");

	}

	public void print(ArrayList<String>text,int script) throws InterruptedException
	{
	
		
		  for(int i=0;i<dialogue.get(script).length();i++)
			{
				System.out.println(dialogue.get(script).substring(i));
				
					Thread.sleep(100);
				
			}
	}
}
